/*-------------------------------------------------------- 
* Module Name : OLDialogTitle
* Version : 1.0
* 
* Software Name : Qt App Template
* Version : 1.0
*
* Copyright � 2010 � 2011 France T�l�com
* This software is distributed under the LGPL v2.1 license,
* the text of which is available at http://www.gnu.org/licenses/lgpl-2.1.html
* or see the "LICENSE.txt" file for more details.
*
*--------------------------------------------------------
* File Name   : OLDialogTitle.h
*
* Created     : 07 June 2011
* Author(s)   : Omer Saleem
*
* Description :
* This object represents the title bar portion of the
* dialogs (OLDialog) used in the framework.
*
*--------------------------------------------------------
* 1.0 - First open source release
*
*/

#ifndef OLDIALOGTITLE_H
#define OLDIALOGTITLE_H

#include <QWidget>

#include "OLApplication.h"

class OLDialogTitle : public QWidget
{
    Q_OBJECT

public:
    OLDialogTitle(const QPixmap& icon, const QString& title, QWidget *parent);

signals:
    void dismissDialog();

protected:
    // from QWidget
    virtual void paintEvent(QPaintEvent* e);
};

#endif // OLDIALOGTITLE_H
